package com.yellow.paymentservice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("billing_information")
public class BillingInformation {

    @TableId(value = "billing_id", type = IdType.AUTO)
    private Integer billingId;

    @TableField("customer_id")
    private Integer customerId;

    @TableField("billing_address")
    private String billingAddress;

    @TableField("contact_name")
    private String contactName;

    @TableField("contact_phone")
    private String contactPhone;

    @TableField("is_default")
    private Boolean isDefault;
}
